package com.dongdongshop.service;


import com.dongdongshop.model.TbSpecificationOption;
import com.dongdongshop.page.PageParms;
import com.dongdongshop.page.PageResult;
import com.dongdongshop.vo.SpecVo;

import java.util.List;

public interface SpecService {
    //查询
    List<SpecVo> getList();
    //增加
    void addSpecAndOption(SpecVo vo, List<TbSpecificationOption> optionList);
    //回显
    SpecVo toupdate(Long id);
    //修改
    void updateSpec(SpecVo vo);
    //删除
    void deleteSpec(Long[] ids);

    PageResult specPage(PageParms<SpecVo> page);
}
